home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 353 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
  2. Message-ID: <4fmive$g68@mulga.cs.mu.OZ.AU>
  3. X-Original-Date: 12 Feb 1996 05:25:02 GMT
  4. Path: in1.uu.net!bounce-back
  5. Date: 12 Feb 96 08:02:46 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: Nesting scope resolution
  9. Organization: Comp Sci, University of Melbourne
  10. References: <DMIMKo.B6o@uns.bris.ac.uk>
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBFAgUBMR70UuEDnX0m9pzZAQEQdgGAkdsGAs/jvgtCohe/DulSNbnE0r8r61AB
  13.     FWbP02z1MGzpgEftx0nkuGm4O4F5K+K9
  14.     =aZb9
  15.  
  16. nathan@pact.srf.ac.uk (Nathan Sidwell) writes:
  17.  
  18. >Is the line tagged //B legal?
  19.  
  20. Yes.
  21.  
  22. Your analysis is correct, IMHO, although not quite complete.
  23. The answer to the question you ask
  24.  
  25. >now the question is, is Parent (a typedef) considered a class-name?
  26.  
  27. is yes - the missing piece of the puzzle is 9.1[class.name]/5, which
  28. says "A typedef name which names a class is a class-name".
  29.  
  30. --
  31. Fergus Henderson                 WWW: http://www.cs.mu.oz.au/~fjh
  32. fjh@cs.mu.oz.au                  PGP: finger fjh@128.250.37.3
  33. ---
  34. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  35.   Contact address: std-c++-request@ncar.ucar.edu.  Moderation policy:
  36.   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
  37.